package com.zhaodi.mybatisflexdemo.fegin;

import com.zhaodi.mybatisflexdemo.entity.Result;
import com.zhaodi.mybatisflexdemo.entity.dto.PhoneValidateDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName TestFegin
 * @Description TODO
 * @Author 郭敖
 * @Date 2024年10月14日 10:27
 * @Version 1.0
 */
@FeignClient(value = "test",url = "http://localhost:9877")
public interface TestFeign {

    @PostMapping("/phone/save")
    Result sendPhone(PhoneValidateDto phoneValidateDto);

}
